# encoding: utf-8

def get_fib(n):
    if n == 1:
        return 1
    elif n == 2:
        return 1
    else:
        return get_fib(n - 1) + get_fib(n - 2)


for i in range(1, 10):
    print(i,get_fib(i))
 
       